package com.youthburin.rmp.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the rmp_permission_type database table.
 * 
 */
@Entity
@Table(name="rmp_permission_type")
public class RmpPermissionType extends BaseVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="CODE")
	private String code;

	@Column(name="NAME")
	private String name;

	@Column(name="REMARK")
	private String remark;

	//bi-directional many-to-one association to RmpPermission
	@OneToMany(mappedBy="rmpPermissionType")
	private Set<RmpPermission> rmpPermissions;

    public RmpPermissionType() {
    }

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set<RmpPermission> getRmpPermissions() {
		return this.rmpPermissions;
	}

	public void setRmpPermissions(Set<RmpPermission> rmpPermissions) {
		this.rmpPermissions = rmpPermissions;
	}
	
}